package cn.superchart.module.dev.gencode.mapper;

import cn.superchart.module.dev.gencode.entity.ScGenTable;
import cn.superchart.module.dev.gencode.param.ScTableColumnDetail;
import cn.superchart.module.dev.gencode.param.ScTableDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface ScGenTableMapper extends BaseMapper<ScGenTable> {


    List<ScTableDetail> dbTables(@Param("tableSchema") String tableSchema);


    List<ScTableColumnDetail> dbTableColumns(@Param("tableSchema") String tableSchema,@Param("tableName") String tableName);
}
